package com.ruoyi.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告公司对象 ad_company
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class AdCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String name;

    /** 注册日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerDate;

    /** 许可证号 */
    @Excel(name = "许可证号")
    private String licenseNumber;

    /** 营业执照图片 */
    @Excel(name = "营业执照图片")
    private String businessLicensePicture;

    /** 所属区县 */
    @Excel(name = "所属区县")
    private String areaId;

    /** 法人 */
    @Excel(name = "法人")
    private String legalPerson;

    /** 注册资金 */
    @Excel(name = "注册资金")
    private String registeredCapital;

    /** 注册类型ID */
    @Excel(name = "注册类型ID")
    private Long registeredTypeId;

    /** 营运有效期 (年数) */
    @Excel(name = "营运有效期 (年数)")
    private Long operatingPeriod;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contact;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactTel;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 传真 */
    @Excel(name = "传真")
    private String fax;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 特许经营协议 */
    @Excel(name = "特许经营协议")
    private String franchiseAgreement;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRegisterDate(Date registerDate) 
    {
        this.registerDate = registerDate;
    }

    public Date getRegisterDate() 
    {
        return registerDate;
    }
    public void setLicenseNumber(String licenseNumber) 
    {
        this.licenseNumber = licenseNumber;
    }

    public String getLicenseNumber() 
    {
        return licenseNumber;
    }
    public void setBusinessLicensePicture(String businessLicensePicture) 
    {
        this.businessLicensePicture = businessLicensePicture;
    }

    public String getBusinessLicensePicture() 
    {
        return businessLicensePicture;
    }
    public void setAreaId(String areaId) 
    {
        this.areaId = areaId;
    }

    public String getAreaId() 
    {
        return areaId;
    }
    public void setLegalPerson(String legalPerson) 
    {
        this.legalPerson = legalPerson;
    }

    public String getLegalPerson() 
    {
        return legalPerson;
    }
    public void setRegisteredCapital(String registeredCapital) 
    {
        this.registeredCapital = registeredCapital;
    }

    public String getRegisteredCapital() 
    {
        return registeredCapital;
    }
    public void setRegisteredTypeId(Long registeredTypeId) 
    {
        this.registeredTypeId = registeredTypeId;
    }

    public Long getRegisteredTypeId() 
    {
        return registeredTypeId;
    }
    public void setOperatingPeriod(Long operatingPeriod) 
    {
        this.operatingPeriod = operatingPeriod;
    }

    public Long getOperatingPeriod() 
    {
        return operatingPeriod;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setContactTel(String contactTel) 
    {
        this.contactTel = contactTel;
    }

    public String getContactTel() 
    {
        return contactTel;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setFax(String fax) 
    {
        this.fax = fax;
    }

    public String getFax() 
    {
        return fax;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setFranchiseAgreement(String franchiseAgreement) 
    {
        this.franchiseAgreement = franchiseAgreement;
    }

    public String getFranchiseAgreement() 
    {
        return franchiseAgreement;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("registerDate", getRegisterDate())
            .append("licenseNumber", getLicenseNumber())
            .append("businessLicensePicture", getBusinessLicensePicture())
            .append("areaId", getAreaId())
            .append("legalPerson", getLegalPerson())
            .append("registeredCapital", getRegisteredCapital())
            .append("registeredTypeId", getRegisteredTypeId())
            .append("operatingPeriod", getOperatingPeriod())
            .append("contact", getContact())
            .append("contactTel", getContactTel())
            .append("email", getEmail())
            .append("fax", getFax())
            .append("memo", getMemo())
            .append("franchiseAgreement", getFranchiseAgreement())
            .toString();
    }
}
